package cn.gjculture.shopping.api.service;

import cn.gjculture.shopping.api.entity.User;

import java.util.List;

public interface UserService {
    int insert(User user);

    int update(User user);

    List<User> query();

    User queryById(String userId);

    int delete(List<String> userIds);

    User queryByName(String name);

    boolean updatePassword(String tokenId, String oldPassword, String newPassword);
}
